package com.sca.deal.product.dao;

import com.sca.deal.product.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Administrator
 */
@Mapper
public interface ProductDao {
    int create(Product p);

    Product getProductByid(@Param("id") Long id);
}
